package main

import "github.com/yanyiwu/gojieba"

func main() {

	x := gojieba.NewJieba()
	defer x.Free()

	//s = "我来到北京清华大学"
	words := x.Tokenize(string("啊哈哈哈你好啊"), gojieba.SearchMode, true)

	for _, v := range words {
		print(v.Str)
		print(" ")
	}

}
